<?php
include(getcwd()."/plugin/class/class_planet.php");


//$this->site_show=false;

if(isset($_GET['ajax'])){
	$a=new PLANETS($restrict, $this, 1);
}else{
	$this->addTitle($lang['overview']['planet_title']);
	echo "<h3>".$lang['overview']['planet_title']."</h3><br />";
	echo "\n";
	echo '<div align="center" style="padding-bottom:10px;"><span style="font-size:80%;">';
		if(isset($_GET['gala'])) {
			$p_gala=$_GET['gala'];
			unset($_GET['gala']);
		}else
			$p_gala="";
		
		for($i=1;$i<=9;$i++){
			echo "<a href=\"".FullURL()."&gala=$i\">$i</a> ";
		};
		echo "<a href=\"".FullURL()."\">ALL</a> ";
		$_GET['gala']=$p_gala;
	echo '</span></div>';

	$a=new PLANETS($restrict, $this);
}

?>
